package com.jason.apps.notify;

import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;

public class MailSenderActivity extends Activity {

	 /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
       /* setContentView(R.layout.activity_mail_sender);

        final Button send = (Button) this.findViewById(R.id.send);
        send.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub

                try {   
                    GMailSender sender = new GMailSender("jesonenerez@gmail.com", "jesonenerez");
                    sender.sendMail("This is Subject",   
                            "This is Body",   
                            "jesonenerez@gmail.com",   
                            "jeson_enerez@yahoo.com");   
                    Log.e("Message", "Na sent bai");
                } catch (Exception e) {   
                    Log.e("SendMail", e.getMessage(), e);   
                } 

            }
        });*/
    }

}
